goto BEGIN

:BEGIN
git add . && (echo "ok") || goto FAILED
git commit -m "%date:~0,4%.%date:~5,2%.%date:~8,2%.%time:~0,2%.%time:~3,2%.%time:~6,2%" && (echo "ok") || goto FAILED
git pull && (echo "ok") || goto FAILED
git push && (echo "ok") || goto FAILED
goto END

:FAILED
echo "failed"
:END
echo "end"


